{include file="public/header"}
<body id="body">
<!--广告位横幅-->
<div class="head-fixed head-simple">
    {include file="public/wrap1"}
</div>
<div class="wrap">
    {include file="public/banner"}
    <!-- 1.	首页头部广告位  -->
    <div class="com-recbox">
        <!--广告位-->
        <div class="h20-blank"></div>
    </div>
    <div class="top-one-blank clearfix">
        <div class="top-one-blank-left fl">
            <div class="category">
                <div class="title">作品分类</div>
                <ul class="cate-list" id="data-groupdom" name="stat-groupdom">
                    <li>
                        <a href="/category/1.html" title="奇幻玄幻" target="_blank" class="cate1">奇幻玄幻</a>
                        <a href="/category/2.html" title="武侠仙侠" target="_blank" class="cate2">武侠仙侠</a></li>
                    <li>
                        <a href="/category/4.html" title="历史军事" target="_blank" class="cate3">历史军事</a>
                        <a href="/category/3.html" title="都市娱乐" target="_blank" class="cate4">都市娱乐</a></li>
                    <li>
                        <a href="/category/5.html" title="竞技同人" target="_blank" class="cate5">竞技同人</a>
                        <a href="/category/6.html" title="科幻游戏" target="_blank" class="cate6">科幻游戏</a></li>
                    <li>
                        <a href="/category/7.html" title="都市言情" target="_blank" class="cate7">都市言情</a>
                        <a href="/category/10.html" title="全部作品" target="_blank" class="cate-all">全部作品</a>
                    </li>

                </ul>
            </div>
            <div class="h5-blank"></div>
        </div>
        <div class="top-one-blank-mid fl">
            <div class="index_tpic" id="index_tpic">
                <ul class="swiper-container">
                    <li class="swiper-item">
                        <a href="javascript:;" target="_blank">
                            <img src="http://static.zongheng.com/upload/recommend/0c/31/0c31e1a2d94b9b1b1f32f693c13c7428.jpeg" alt="妖者为王">
                            <div class="scrtxt">少年萧浪天生超级神魂，却被误认为废神魂。在家族受尽屈辱陷害，无奈之下叛出家族，从此一飞冲天，青云直上。</div>
                        </a>
                    </li>
                    <li class="swiper-item">
                        <a href="javascript:;" target="_blank">
                            <img src="http://static.zongheng.com/upload/recommend/d2/85/d28519ffa6b1f025a134e20a15a38be5.jpeg" alt="重生之奶爸医圣">
                            <div class="scrtxt">仙帝重生成医圣，还直接当了奶爸，孩儿她妈美若天仙，乖女儿非吵着要找二妈三妈，实在太懂事了。</div>
                        </a>
                    </li>
                    <li class="swiper-item">
                        <a href="javascript:;" target="_blank">
                            <img src="http://static.zongheng.com/upload/recommend/7e/5c/7e5cfc986ce54d3138db88dc516570a4.png" alt="特战之王">
                            <div class="scrtxt">李天澜从落魄中崛起，在辉煌中永恒。拥最美的美人，杀最强的对手。</div>
                        </a>
                    </li>
                    <li class="swiper-item">
                        <a href="javascript:;" target="_blank">
                            <img src="http://static.zongheng.com/upload/recommend/92/9f/929f400b6b8f4785aa348a587ce5a289.jpeg" alt="以妻为界：凌少别越线">
                            <div class="scrtxt">她为了报复渣前男友，决定抱上传言有隐疾的他的大腿。然而婚后生活为啥夜夜笙箫……</div>
                        </a>
                    </li>
                    <li class="swiper-item">
                        <a href="javascript:;" target="_blank">
                            <img src="http://static.zongheng.com/upload/recommend/39/bb/39bbdbebd0ceec6ed79f9563ac37bc99.jpeg" alt="蒙婚过关：专属妖精很纯禽">
                            <div class="scrtxt">她这样的女人，他本连看都不会看一眼！但莫名地自己就是无法把目光从她身上移开……</div>
                        </a>
                    </li>
                </ul>
                <div class="arr_left"></div>
                <div class="arr_right"></div>
                <div class="thumb_dot">
                    <em class="active"></em>
                    <em ></em>
                    <em ></em>
                    <em ></em>
                    <em ></em>
                </div>
            </div>
            <div class="h5-blank"></div>
            <div class="mid-news clearfix">
                <!-- 首页中心推荐 -->
                <div class="mid-news-left fl">

                    <div class="top-news">
                        {if isset($index['indexRecommend']['topleft'][0][3])}
                        <a href="/search/{$index['indexRecommend']['topleft'][0][3]}.html" target="_blank" title="{$index['indexRecommend']['topleft'][0][1]}">{$index['indexRecommend']['topleft'][0][1]}</a></div>
                        {else/}
                        <a href="#" target="_blank" title="{$index['indexRecommend']['topleft'][0][1]}">{$index['indexRecommend']['topleft'][0][1]}</a></div>
                        {/if}
                    <ul class="news-lists">

                        {volist name="index['indexRecommend']['left']" id="a"}
                        <li>
                            <span class="cate">{$a[2]}</span>
                            {if isset($a[3])}
                            <a href="/search/{$a[3]}.html" title="{$a[0]}" target="_blank">{$a[0]}</a>
                            {else/}
                            <a href="#" title="{$a[0]}" target="_blank">{$a[0]}</a>
                            {/if}
                        </li>
                        {/volist}
                    </ul>

                </div>
                <div class="mid-news-left fr">

                    <div class="top-news">
                        {if isset($index['indexRecommend']['topright'][0][3])}
                        <a href="/search/{$index['indexRecommend']['topright'][0][3]}.html" target="_blank" title="{$index['indexRecommend']['topright'][0][1]}">
                            {$index['indexRecommend']['topright'][0][1]}</a>
                        {else/}
                        <a href="#" target="_blank" title="{$index['indexRecommend']['topright'][0][1]}">
                            {$index['indexRecommend']['topright'][0][1]}</a>
                        {/if}
                    </div>

                    <ul class="news-lists">

                        {volist name="index['indexRecommend']['right']" id="a"}
                        <li>
                            <span class="cate">{$a[2]}</span>
                            {if isset($a[3])}
                            <a href="/search/{$a[3]}.html" title="{$a[0]}" target="_blank">{$a[0]}</a>
                            {else/}
                            <a href="#" title="{$a[0]}" target="_blank">{$a[0]}</a>
                            {/if}
                        </li>
                        {/volist}

                    </ul>
                </div>
            </div>
        </div>
        <div class="top-one-blank-right fr">
            <div class="tab-lists">
                <div class="top-title clearfix">
                    <div class="title fl">新书榜</div>
                    <div class="more fr">
                        <a class="more-link" href="#"  target="_blank">更多</a>
                    </div>
                </div>
                <div class="h10-blank"></div>
                <div class="lists">
                    <ul id="monthTicketRankList">

                        {volist name="index['rankingList']['newbook']" id="a" offset="1" length="14"}
                        <li>
                            <span>167390</span>
                            {if $key <= 3}
                            <em class="top{$key} list_icon">{$key}</em>
                            {else /}
                            <em class="top4 list_icon">{$key}</em>
                            {/if}
                            <a href="/search/{$a.bookname}.html" target="_blank" title="{$a.bookname}"> {$a.bookname} </a>
                        </li>
                        {/volist}

                    </ul>
                </div>
            </div>
            <div class="h5-blank"></div>
        </div>
    </div>
    <div class="h30-blank"></div>
    <!-- 2.	首页一屏幕下通栏广告位（广告/游戏）。 -->
    <div class="com-recbox">

    </div>

    <!--<div class="h30-blank"></div>-->
    <!--<div class="h40-blank"></div>-->
    <!-- 热门游戏推荐 -->

    <div class="h40-blank"></div>
    <div class="bd-blanks clearfix">
        <div class="bd-list">
            <div class="tab-lists">
                <div class="top-title clearfix">
                    <div class="title fl">24小时畅销榜</div>
                    <div class="more fr"><a class="more-link" href="#" target="_blank">更多</a></div>
                </div>
                <div class="h10-blank"></div>
                <div class="line"></div>
                <div class="lists">

                    <div class="list-box">
                        <div class="list-b" style="display:block;">
                            <em class="top1 list_icon">1</em>
                            <a class="title" href="/search/{$index.rankingList.bestseller.0.bookname}.html" target="_blank" title="{$index.rankingList.bestseller.0.bookname}">{$index.rankingList.bestseller.0.bookname}</a>
                            <a class="author"  href="http://home.zongheng.com/show/userInfo/166130.html"  target="_blank" title="{$index.rankingList.bestseller.0.author}">{$index.rankingList.bestseller.0.author}</a>
                            <a class="cate" href="#/category/3.html" target="_blank" title="武侠仙侠">[武侠仙侠]</a>
                            <span class="count" target="_blank" title="314.7万">314.7万&nbsp;字</span>
                            <div class="imgbox list-img"><a href="#" target="_blank"><img src="http://static.zongheng.com/upload/cover/2017/05/1496234539057.JPG" alt="剑来"></a></div>
                        </div>
                    </div>
                    {volist name="index['rankingList']['bestseller']" id="b" offset="2" length="9"}
                    <div class="list-box">
                        <div class="list-a" >
                            <span class="author" >{$b.author}</span>
                            {if $key == 2}
                            <em class="top2 list_icon">{$key}</em>
                            {elseif $key == 3 /}
                            <em class="top3 list_icon">{$key}</em>
                            {else /}
                            <em class="top4 list_icon">{$key}</em>
                            {/if}
                            <a href="/search/{$b.bookname}.html" target="_blank" title="{$b.bookname}">
                                {$b.bookname}</a>
                        </div>
                    </div>
                    {/volist}
                </div>
            </div>
        </div>
        <div class="bd-list">
            <div class="tab-lists">
                <div class="top-title clearfix">
                    <div class="title fl">用户周点击榜</div>
                    <div class="more fr"><a class="more-link" href="#" target="_blank">更多</a></div>
                </div>
                <div class="h10-blank"></div>
                <div class="line"></div>
                <div class="lists">

                    <div class="list-box">

                        <div class="list-b" style="display:block;">
                            <em class="top1 list_icon">1</em>
                            <a class="title" href="/search/{$index.rankingList.weekclick.0.bookname}.html" target="_blank" title="{$index.rankingList.weekclick.0.bookname}">{$index.rankingList.weekclick.0.bookname}</a>
                            <a class="author" title="{$index.rankingList.weekclick.0.author}" href="#" target="_blank" title="{$index.rankingList.weekclick.0.author}">{$index.rankingList.weekclick.0.author}</a>
                            <a class="cate" href="#/category/9.html" target="_blank" title="都市娱乐">[都市娱乐]</a>
                            <span class="count" target="_blank" title="2597920">2597920&nbsp;点击数</span>
                            <div class="imgbox list-img">
                                <a href="#" target="_blank">
                                <img src="http://static.zongheng.com/upload/cover/2c/1f/2c1fe294306eea58638e7d07a12a7628.jpeg" alt="点道为止">
                                </a>
                            </div>
                        </div>

                    </div>

                    {volist name="index['rankingList']['weekclick']" id="c" offset="2" length="9"}
                    <div class="list-box">
                        <div class="list-a" >
                            <span>2102095</span>
                            {if $key == 2}
                            <em class="top2 list_icon">{$key}</em>
                            {elseif $key == 3 /}
                            <em class="top3 list_icon">{$key}</em>
                            {else /}
                            <em class="top4 list_icon">{$key}</em>
                            {/if}
                            <a href="/search/{$c.bookname}.html" target="_blank" title="{$c.bookname}">{$c.bookname}</a>
                        </div>
                    </div>
                    {/volist}

                </div>
            </div>
        </div>
        <div class="bd-list">
            <div class="tab-lists">
                <div class="top-title clearfix">
                    <div class="title fl">周推荐榜</div>
                    <div class="more fr"><a class="more-link" href="javascript:;" target="_blank">更多</a></div>
                </div>
                <div class="h10-blank"></div>
                <div class="line"></div>
                <div class="lists">

                    <div class="list-box">
                        <div class="list-b" style="display:block;">
                            <em class="top1 list_icon">1</em>
                            <a class="title" href="/search/{$index.rankingList.weekrecommend.0.bookname}.html" target="_blank" title="{$index.rankingList.weekrecommend.0.bookname}" >{$index.rankingList.weekrecommend.0.bookname}</a>
                            <a class="author"  title="{$index.rankingList.weekrecommend.0.author}" href="http://home.zongheng.com/show/userInfo/284372.html"  target="_blank" title="">{$index.rankingList.weekrecommend.0.author}</a>
                            <a class="cate"  href="#/category/9.html" target="_blank" title="都市娱乐">[都市娱乐]</a>
                            <span class="count"  target="_blank" title="1119260">1119260&nbsp;推荐票</span>
                            <div class="imgbox list-img"><a href="http://book.zongheng.com/book/730066.html" target="_blank">
                                <img src="http://static.zongheng.com/upload/cover/2c/1f/2c1fe294306eea58638e7d07a12a7628.jpeg" alt="{$index.rankingList.weekrecommend.0.bookname}">
                            </a>
                            </div>
                        </div>
                    </div>

                    {volist name="index['rankingList']['weekrecommend']" id="d" offset="2" length="9"}
                    <div class="list-box">
                        <div class="list-a" ><span>1085552</span>
                            {if $key == 2}
                            <em class="top2 list_icon">{$key}</em>
                            {elseif $key == 3 /}
                            <em class="top3 list_icon">{$key}</em>
                            {else /}
                            <em class="top4 list_icon">{$key}</em>
                            {/if}
                            <a href="/search/{$d.bookname}" target="_blank" title="{$d.bookname}" >{$d.bookname}</a>
                        </div>
                    </div>
                    {/volist}

                </div>
            </div>
        </div>
        <div class="bd-list">
            <div class="tab-lists">
                <div class="top-title clearfix">
                    <div class="title fl">月票榜</div>
                </div>
                <div class="h10-blank"></div>
                <div class="line"></div>
                <div class="lists">

                    <div class="list-box">

                        <div class="list-b" style="display:block;">
                            <em class="top1 list_icon">1</em>
                            <a class="title" href="/search/{$index.rankingList.month.0.bookname}.html" target="_blank" title="{$index.rankingList.month.0.bookname}">{$index.rankingList.month.0.bookname}</a>
                            <a class="author"  href="#"  target="_blank" title="{$index.rankingList.month.0.author}">烽火戏诸侯</a>
                            <a class="cate" href="category/3.html" target="_blank" title="武侠仙侠">[武侠仙侠]</a>
                            <span class="count"  target="_blank" title="314.7万">314.7万&nbsp;字</span>
                            <div class="imgbox list-img">
                                <a href="http://book.zongheng.com/book/672340.html" target="_blank">
                                    <img src="http://static.zongheng.com/upload/cover/2017/05/1496234539057.JPG" alt="{$index.rankingList.month.0.bookname}"></a></div>
                        </div>

                    </div>

                    {volist name="index['rankingList']['month']" id="e" offset="2" length="9"}
                    <div class="list-box">
                        <div class="list-a" >
                            <span>{$e.author}</span>
                            {if $key == 2}
                            <em class="top2 list_icon">{$key}</em>
                            {elseif $key == 3 /}
                            <em class="top3 list_icon">{$key}</em>
                            {else /}
                            <em class="top4 list_icon">{$key}</em>
                            {/if}
                            <a href="/search/{$e.bookname}.html" target="_blank" title="{$e.bookname}">{$e.bookname}</a>
                        </div>
                    </div>
                    {/volist}
                </div>
            </div>
        </div>
    </div>
    <div class="h30-blank"></div>
    <!-- 4.	首页三屏幕下通栏广告位（广告/游戏）。这里有通栏广告广告位 -->

    <!--<div class="h20-blank"></div>-->

    <!--男生频道-->

    <!-- 5.	首页四屏幕下通栏广告位（广告/游戏） -->


    <!--女生频道-->

    <!-- 6.	首页五屏幕下通栏广告位（广告/游戏）。 -->


    <!--最新更新-->
    <!--include file="index/newupdate"-->
    <!-- 	7.	首页六屏幕下通栏广告位（广告/游戏） -->
    <div class="h30-blank"></div>
    <div class="com-recbox">
        <!--xx-->
    </div>
    <div class="h40-blank"></div>
</div>
{include file="public/footer"}

<script>
//    $("#zh_side_lt").mouseover(function(){
//        $(this).find('ul').show('normal');
//    });
    $("#zh_side_lt").click(function(){
        $(this).find('ul').toggle('normal');
    });
    $('.source').click(function(){
        var source = $(this).text();
        if(source == '来源1'){
            source = 1;
        }else if(source == '来源2'){
            source = 2;
        }
        $.get('http://www.xiaojuan.fun/'+source, function(){
            console.log(res);
        });
    });
</script>
